import Cesium, { ImageryLayer } from "../Ces/Cesium"
import WeLayerManager from "./WeLayerManager"

type WeImageryLayerOptions = {
    layerManager: WeLayerManager
}

class WeImageryLayer extends ImageryLayer {
    private _id: string
    constructor(options: WeImageryLayerOptions, id: string) {
        const imageryProvider = null
        super(imageryProvider, options as any)
        this._id = id
    }

    get id() {
        return this._id
    }

    update(frameState) {
       
    }
    
    isDestroyed() {
        return false
    }

    destory() {
        return Cesium.destroyObject(this)
    }
}

export default WeImageryLayer